<?php


namespace app\model;


use think\Model;

class Orders extends Model
{

    protected $name = 'orders';

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id');
    }

}